package com.zsy.yygh_hosp.repository;

import com.atguigu.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * 科室仓库
 */
@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {
    //上传科室
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);
}
